<?php /* Smarty version 2.6.14, created on 2007-07-22 00:53:57
         compiled from Main.tpl */ ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "header.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Diamond.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<?php echo '
<SCRIPT language=Javascript>
<!--
function validForm(){
	sn=s1.elements[\'shop_name\'];
	if ((sn.value=="")){
		alert("请输入商铺名称关键词\\r\\n最好在两个字以上！");
		sn.focus();
		return false;
	}
}
function validForm2(){
	gn=s2.elements[\'goods_name\'];
	if ((gn.value== "")){
		alert("请输入商品名称关键词\\r\\n最好在两个字以上！");
		gn.select();
		return false;
	}
}
-->
</script>
'; ?>

<table width="98%" border=0 cellspacing=0 cellpadding=0 align=center>
  <tr>
    <td width="170" height="50%" valign="top"><!-- left start -->
        <table width="100%" height="90%" border=0 cellspacing=0 cellpadding=4 class=i_table align=center>
          <tr align=center>
            <td class=left_head>推荐商铺</td>
          </tr>
          <tr >
            <td valign="top" align="center"> 
			<?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['index_shop']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?> &nbsp;&nbsp;<?php if ($this->_tpl_vars['index_shop'][$this->_sections['key']['index']][0] == '0'): ?><br><br>此 位 招 租<?php else: ?><a href="index.php?act=sd&SHOP_ID=<?php echo $this->_tpl_vars['index_shop'][$this->_sections['key']['index']][0]; ?>
" target="_blank"><img src="<?php echo $this->_tpl_vars['index_shop'][$this->_sections['key']['index']][2]; ?>
" border="0" title="<?php echo $this->_tpl_vars['index_shop'][$this->_sections['key']['index']][3]; ?>
"></a><br>
              <a href="index.php?act=sd&SHOP_ID=<?php echo $this->_tpl_vars['index_shop'][$this->_sections['key']['index']][0]; ?>
" target="_blank"><?php echo $this->_tpl_vars['index_shop'][$this->_sections['key']['index']][1]; ?>
</a><br><?php endif; ?>
            <?php endfor; endif; ?> </td>
          </tr>
        <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['aTrust']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
        <tr>
          <td height="1" bgcolor="#CCCCCC"></td>
        </tr>
        <?php endfor; endif; ?>
        <tr align=center>
          <td class=left_head>新开商铺</td>
        </tr>
        <tr>
          <td height="113"><marquee align=middle id=scrollArea  onMouseOut=scrollArea.start() onMouseOver=scrollArea.stop() scrollamount=2 scrolldelay=30>
            <table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr> <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['new']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                  <td><a href="index.php?act=sd&SHOP_ID=<?php echo $this->_tpl_vars['new'][$this->_sections['key']['index']][0]; ?>
" target="_blank"><img src="<?php echo $this->_tpl_vars['new'][$this->_sections['key']['index']][2]; ?>
" ></a></td>
                  <td width="12%">&nbsp;&nbsp;&nbsp;</td>
                  <?php endfor; endif; ?> </tr>
              <tr> <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['new']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                  <td align="center"><a href="index.php?act=sd&SHOP_ID=<?php echo $this->_tpl_vars['new'][$this->_sections['key']['index']][0]; ?>
" target="_blank"><?php echo $this->_tpl_vars['new'][$this->_sections['key']['index']][1]; ?>
</a></td>
                  <td width="12%">&nbsp;&nbsp;&nbsp;</td>
                  <?php endfor; endif; ?> </tr>
            </table>
          </marquee></td>
        </tr>
        <tr align=center>
          <td class=left_head>友情链接</td>
        </tr>
        <tr>
          <td align=center><br>
              <a href="http://www.phpbiz.cn/" target="_blank">phpBIZ官方网站</a><br>
			  <a href="http://wjl.cn/" target="_blank">望江楼</a><br>
              <a href="http://www.scu.edu.cn/" target="_blank">四川大学</a><br>
          <br></td>
        </tr>
      </table>
    </td>
    <!-- left end -->
    <td align="right" valign="top"><table width="99%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="50%" valign=top>
            <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
              <tr>
                <td>
                  <table width="100%" border="0" cellpadding="0" cellspacing="0" >
                    <tr class="head">
                      <td>&nbsp;推荐商品</td>
                      <td colspan="-1" align=right>&nbsp;帮助：<a href="index.php?act=Help#9">如何成为首页推荐商品（商铺）</a>...</td>
                    </tr>
                    <tr>
                      <td height="150" colspan=2><table width="100%" height="150"  border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['index_goods']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                          <td height="80" align="center"><?php if ($this->_tpl_vars['index_goods'][$this->_sections['key']['index']][1] == '0'): ?>
      此位招租
        <?php else: ?>
        <a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['index_goods'][$this->_sections['key']['index']][0]; ?>
"><img src="<?php echo $this->_tpl_vars['index_goods'][$this->_sections['key']['index']][3]; ?>
" border="0" ></a>
        <?php endif; ?></td>
                          <?php endfor; endif; ?>
                        </tr>
                        <tr>
                          <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['index_goods']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                          <td align="center"><?php if ($this->_tpl_vars['index_goods'][$this->_sections['key']['index']][1]): ?>
                              <a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['index_goods'][$this->_sections['key']['index']][0]; ?>
">
                              <?php echo $this->_tpl_vars['index_goods'][$this->_sections['key']['index']][1]; ?>

                              </a>
                              <?php endif; ?></td>
                          <?php endfor; endif; ?>
                        </tr>
                      </table>
                      <table width="100%" height="150"  border="0" cellpadding="0" cellspacing="0">
                          <tr>
                            <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['index_goods2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                            <td height="80" align="center"><?php if ($this->_tpl_vars['index_goods2'][$this->_sections['key']['index']][1] == '0'): ?>
                              此位招租
                                <?php else: ?>
                                <a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['index_goods2'][$this->_sections['key']['index']][0]; ?>
"><img src="<?php echo $this->_tpl_vars['index_goods2'][$this->_sections['key']['index']][3]; ?>
" border="0" ></a>
                                <?php endif; ?></td>
                            <?php endfor; endif; ?>
                          </tr>
                          <tr>
                            <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['index_goods2']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                            <td align="center"><?php if ($this->_tpl_vars['index_goods2'][$this->_sections['key']['index']][1]): ?>
                                <a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['index_goods2'][$this->_sections['key']['index']][0]; ?>
">
                                <?php echo $this->_tpl_vars['index_goods2'][$this->_sections['key']['index']][1]; ?>

                                </a>
                                <?php endif; ?></td>
                            <?php endfor; endif; ?>
                          </tr>
                        </table></td>
                    </tr>
                </table></td>
              </tr>
          </table></td>
        </tr>
      </table>
        <table>
          <TR align=center bgcolor="#FFFFFF">
            <TD height="1"></TD>
          </TR>
        </TABLE>
        <TABLE width="99%" border=0 cellpadding=0 cellspacing=1 bgcolor="#D4D0C8">
          <TR valign="middle"  bgcolor="#FFFFFF" class="head">
            <TD width="10%">&nbsp;<img src="<?php echo $this->_config[0]['vars']['t_images']; ?>
ico_search.gif" width="11" height="11">快速搜索</TD>
            <FORM METHOD=POST ACTION="index.php?act=Search" name='s1' onsubmit="return validForm();"><TD width="34%" >
			
			<INPUT name="shop_name" TYPE="text" id="shop_name" size="20" maxlength="20">
                &nbsp;<input name="submit2" type="submit" value='搜索商铺名称'>
             <input name="shopcondition" type="hidden" id="shopcondition" value="shop_name">
              <input name="code" type="hidden" id="code" value="dosearch">
              <input name="act" type="hidden" id="act" value="Search"> </td></FORM>
			  <FORM METHOD=POST ACTION="index.php?act=Search" name='s2' onsubmit="return validForm2();">
			  <td width="56%">
                <INPUT name="goods_name" TYPE="text" id="goods_name" size="20" maxlength="20">
&nbsp;<INPUT name="submit" TYPE="submit" value='搜索商品名称'>
              <input name="code" type="hidden" id="code" value="dosearch">
              <input name="act" type="hidden" id="act" value="Search"> <?php echo $this->_tpl_vars['hot']; ?>
</TD></FORM>
            
          </TR>
      </TABLE>
        <table>
          <TR align=center bgcolor="#FFFFFF">
            <TD height="1"></TD>
          </TR>
        </TABLE>
        <table width="99%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="50%" valign=top>
              <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
                <tr>
                  <td>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='WORD-WRAP: break-word'>
                      <tr class="head">
                        <td>&nbsp;<a href="index.php?act=Lst&code=g">最新图片商品</a></td>
                        <td colspan="-1" align=right>&nbsp;</td>
                      </tr>
                      <tr>
                        <td height="150" colspan=2><table width="100%" height="100%"  border="0" cellpadding="0" cellspacing="0">
                            <tr>
                              <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['c']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                              <td height="80" align="center">   <a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['c'][$this->_sections['key']['index']][0]; ?>
"><img src="<?php echo $this->_tpl_vars['c'][$this->_sections['key']['index']][2]; ?>
" border="0" ></a></td>
                              <?php endfor; endif; ?>
                            </tr>
                            <tr>
                              <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['index_goods']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                              <td align="center">  <a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['c'][$this->_sections['key']['index']][0]; ?>
">
                              <?php echo $this->_tpl_vars['c'][$this->_sections['key']['index']][1]; ?>

                              </a>                                  </td>
                              <?php endfor; endif; ?>
                            </tr>
                        </table></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
          </tr>
      </table>
        <table>
          <TR align=center bgcolor="#FFFFFF">
            <TD height="1"></TD>
          </TR>
        </TABLE>        <!-- right start -->
        <table cellspacing=0 cellpadding=0 width="99%" border=0>
          <tr>
            <td valign=top width="50%">            <table width="99%" cellspacing=0 cellpadding=3 border=0 class=i_table style='WORD-WRAP: break-word'>
              <tbody>
                <tr>
                  <td width="81%" class=right_head>&nbsp;<a href="index.php?act=Lst&code=g">最新商品</a></td>
                  <td width="19%" align=right class=right_head><a href="index.php?act=Lst&code=g">更多...</a></td>
                </tr>
                <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['d']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
                <tr class=dot>
                  <td >・<a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['d'][$this->_sections['key']['index']][0]; ?>
" title="<?php echo $this->_tpl_vars['d'][$this->_sections['key']['index']][1]; ?>
">
                    <?php echo $this->_tpl_vars['d'][$this->_sections['key']['index']][1]; ?>

                  </a></td>
                  <td  align="right"><?php if ($this->_tpl_vars['d'][$this->_sections['key']['index']][2]): ?>
                      <?php echo $this->_tpl_vars['d'][$this->_sections['key']['index']][2]; ?>

                      元
                      <?php else: ?>
                      面议
                      <?php endif; ?></td>
                </tr>
                <?php endfor; endif; ?>
            </table></td>
            <td valign=top width="50%"><table width="99%" border=0 align="center" cellpadding=3 cellspacing=0 class=i_table style='WORD-WRAP: break-word'>
                <tr class=right_head>
                  <td  width="82%" >&nbsp;<a href="index.php?act=Lst&code=g&FieldID=5">人气商品</a></td>
                  <td  width="18%" ><a href="index.php?act=Lst&code=g&FieldID=5">更多...</a></td>
                </tr>
              <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['a']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
?>
              <tr class=dot>
                <td width="82%">・<a href="index.php?act=gd&GOODS_ID=<?php echo $this->_tpl_vars['a'][$this->_sections['key']['index']][0]; ?>
"  title="<?php echo $this->_tpl_vars['a'][$this->_sections['key']['index']][1]; ?>
"><?php echo $this->_tpl_vars['a'][$this->_sections['key']['index']][1]; ?>
</a></td>
                <td width="18%" align="right"><?php if ($this->_tpl_vars['a'][$this->_sections['key']['index']][2]):  echo $this->_tpl_vars['a'][$this->_sections['key']['index']][2]; ?>
元<?php else: ?>面议<?php endif; ?></td>
              </tr>
              <?php endfor; endif; ?>
            </table></td>
          </tr>
      </table>
        <table width="100%">
          <TR align=center bgcolor="#FFFFFF">
            <TD height="1"></TD>
          </TR>
        </TABLE>
        <table width="99%" border="0" cellspacing="1" cellpadding="0">
          <tr>
            <td width="50%" valign=top>
              <table width="100%" border="0" cellspacing="3" cellpadding="0" class=i_table>
                <tr>
                  <td>
                    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" style='TABLE-LAYOUT: fixed;WORD-WRAP: break-word'>
                      <tr class="head">
                        <td>&nbsp;商品分类(分类由店长录入商品信息时选定)</td>
                        <td colspan="-1" align="right">&nbsp;</td>
                      </tr>
                      <tr>
                        <td colspan=2> <?php unset($this->_sections['key']);
$this->_sections['key']['name'] = 'key';
$this->_sections['key']['loop'] = is_array($_loop=$this->_tpl_vars['ca']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['key']['show'] = true;
$this->_sections['key']['max'] = $this->_sections['key']['loop'];
$this->_sections['key']['step'] = 1;
$this->_sections['key']['start'] = $this->_sections['key']['step'] > 0 ? 0 : $this->_sections['key']['loop']-1;
if ($this->_sections['key']['show']) {
    $this->_sections['key']['total'] = $this->_sections['key']['loop'];
    if ($this->_sections['key']['total'] == 0)
        $this->_sections['key']['show'] = false;
} else
    $this->_sections['key']['total'] = 0;
if ($this->_sections['key']['show']):

            for ($this->_sections['key']['index'] = $this->_sections['key']['start'], $this->_sections['key']['iteration'] = 1;
                 $this->_sections['key']['iteration'] <= $this->_sections['key']['total'];
                 $this->_sections['key']['index'] += $this->_sections['key']['step'], $this->_sections['key']['iteration']++):
$this->_sections['key']['rownum'] = $this->_sections['key']['iteration'];
$this->_sections['key']['index_prev'] = $this->_sections['key']['index'] - $this->_sections['key']['step'];
$this->_sections['key']['index_next'] = $this->_sections['key']['index'] + $this->_sections['key']['step'];
$this->_sections['key']['first']      = ($this->_sections['key']['iteration'] == 1);
$this->_sections['key']['last']       = ($this->_sections['key']['iteration'] == $this->_sections['key']['total']);
 if ($this->_tpl_vars['ca'][$this->_sections['key']['index']][1]): ?><br>
                          ・ <a href="index.php?act=Lst&code=search&CID=<?php echo $this->_tpl_vars['ca'][$this->_sections['key']['index']][1]; ?>
" style="text-decoration: underline;"><b><?php echo $this->_tpl_vars['ca'][$this->_sections['key']['index']][0]; ?>
</b></a>:<?php elseif ($this->_tpl_vars['ca'][$this->_sections['key']['index']][3]): ?> &nbsp;<a href="index.php?act=Lst&code=search&CID=<?php echo $this->_tpl_vars['ca'][$this->_sections['key']['index']][3]; ?>
"><?php echo $this->_tpl_vars['ca'][$this->_sections['key']['index']][2]; ?>
</a>&nbsp;/<?php endif;  endfor; endif; ?></td>
                      </tr>
                  </table></td>
                </tr>
            </table></td>
          </tr>
        
          <tr> </tr>
    </table></td>
    <!-- right end -->
  </tr>
</table>
<table width="100%">
  <TR align=center bgcolor="#FFFFFF">
    <TD height="1"></TD>
  </TR>
</TABLE>

<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "Info.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<table width="100%">
<TR align=center bgcolor="#FFFFFF">
  <TD height="1"></TD>
  </TR>
</TABLE></td>
</tr></table>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => "footer.tpl", 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>